package com.athuiju.hr.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wzh
 * @since 2021-12-15
 */
@Data

@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Profiles对象", description="")
public class Profiles implements Serializable {
    private static final long serialVersionUID = -1242493306307174690L;

    @ApiModelProperty(value = "员工工号")
    private Integer id;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "身份证")
    private String cardId;

    @ApiModelProperty(value = "户籍地址")
    private String address;

    @ApiModelProperty(value = "居住地")
    private String residence;

    @ApiModelProperty(value = "手机号")
    private String number;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "紧急联系人")
    private String nameIs;

    @ApiModelProperty(value = "紧急联系人电话")
    private String numberIs;

    @ApiModelProperty(value = "工资卡")
    private String playCard;

    @ApiModelProperty(value = "支付宝")
    private String zhifubao;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private Date gmtCreate;

    @TableField(fill= FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "最新更新时间")
    private Date gmtModified;

    @ApiModelProperty(value = "0表示未删除，1表示已删除")
    @TableLogic
    private Boolean isDeleted;

    @ApiModelProperty(value = "职位id")
    private Integer postid;

    @ApiModelProperty(value = "职级id")
    private Integer gradesid;

    @ApiModelProperty(value = "子部门id")
    private Integer sectorid;

    @ApiModelProperty(value = "部门id")
    private Integer branchid;


    @ApiModelProperty(value = "组织id")
    private Integer organizationid;

    @ApiModelProperty(value = "富文本")
    private String rtf;

    @ApiModelProperty(value = "性别")
    private  Integer sex;


    @TableField(fill = FieldFill.DEFAULT)
    @ApiModelProperty(value = "入职日期")
    private Date gmtBoard;


    @TableField(fill = FieldFill.DEFAULT)
    @ApiModelProperty(value = "离职日期")
    private Date gmtDeparture;


    @TableField(fill = FieldFill.DEFAULT)
    @ApiModelProperty(value = "转正日期")
    private Date  gmtPositive;



}
